package com.regent.central.bill.core.mrp;

import java.util.Date;
import javax.persistence.*;

@Table(name = "central_bill_material_delivery")
public class BillMaterialDelivery {
    @Id
    private String id;

    /**
     * 记录版本
     */
    private Integer version;

    @Column(name = "date_created")
    private Date dateCreated;

    @Column(name = "date_updated")
    private Date dateUpdated;

    @Column(name = "time_deleted")
    private Long timeDeleted;

    /**
     * 老板组织ID
     */
    @Column(name = "boss_unit_id")
    private String bossUnitId;

    /**
     * 组织ID
     */
    @Column(name = "unit_id")
    private String unitId;

    /**
     * 送料仓库
     */
    @Column(name = "storehouse_id")
    private String storehouseId;

    /**
     * 单号
     */
    @Column(name = "order_no")
    private String orderNo;

    /**
     * 送料人
     */
    @Column(name = "delivery_creator_id")
    private String deliveryCreatorId;

    /**
     * 送料人名称
     */
    @Column(name = "delivery_creator_name")
    private String deliveryCreatorName;

    /**
     * 送料时间
     */
    @Column(name = "date_delivery")
    private Date dateDelivery;

    /**
     * 撤销标记 0：未撤销 1：已撤销
     */
    @Column(name = "cancel")
    private boolean cancel;

    /**
     * @return id
     */
    public String getId() {
        return id;
    }

    /**
     * @param id
     */
    public void setId(String id) {
        this.id = id;
    }

    /**
     * 获取记录版本
     *
     * @return version - 记录版本
     */
    public Integer getVersion() {
        return version;
    }

    /**
     * 设置记录版本
     *
     * @param version 记录版本
     */
    public void setVersion(Integer version) {
        this.version = version;
    }

    /**
     * @return date_created
     */
    public Date getDateCreated() {
        return dateCreated;
    }

    /**
     * @param dateCreated
     */
    public void setDateCreated(Date dateCreated) {
        this.dateCreated = dateCreated;
    }

    /**
     * @return date_updated
     */
    public Date getDateUpdated() {
        return dateUpdated;
    }

    /**
     * @param dateUpdated
     */
    public void setDateUpdated(Date dateUpdated) {
        this.dateUpdated = dateUpdated;
    }

    /**
     * @return time_deleted
     */
    public Long getTimeDeleted() {
        return timeDeleted;
    }

    /**
     * @param timeDeleted
     */
    public void setTimeDeleted(Long timeDeleted) {
        this.timeDeleted = timeDeleted;
    }

    /**
     * 获取老板组织ID
     *
     * @return boss_unit_id - 老板组织ID
     */
    public String getBossUnitId() {
        return bossUnitId;
    }

    /**
     * 设置老板组织ID
     *
     * @param bossUnitId 老板组织ID
     */
    public void setBossUnitId(String bossUnitId) {
        this.bossUnitId = bossUnitId;
    }

    /**
     * 获取组织ID
     *
     * @return unit_id - 组织ID
     */
    public String getUnitId() {
        return unitId;
    }

    /**
     * 设置组织ID
     *
     * @param unitId 组织ID
     */
    public void setUnitId(String unitId) {
        this.unitId = unitId;
    }

    /**
     * 获取送料仓库
     *
     * @return storehouse_id - 送料仓库
     */
    public String getStorehouseId() {
        return storehouseId;
    }

    /**
     * 设置送料仓库
     *
     * @param storehouseId 送料仓库
     */
    public void setStorehouseId(String storehouseId) {
        this.storehouseId = storehouseId;
    }

    /**
     * 获取单号
     *
     * @return order_no - 单号
     */
    public String getOrderNo() {
        return orderNo;
    }

    /**
     * 设置单号
     *
     * @param orderNo 单号
     */
    public void setOrderNo(String orderNo) {
        this.orderNo = orderNo;
    }

    /**
     * 获取送料人
     *
     * @return delivery_creator_id - 送料人
     */
    public String getDeliveryCreatorId() {
        return deliveryCreatorId;
    }

    /**
     * 设置送料人
     *
     * @param deliveryCreatorId 送料人
     */
    public void setDeliveryCreatorId(String deliveryCreatorId) {
        this.deliveryCreatorId = deliveryCreatorId;
    }

    /**
     * 获取送料人名称
     *
     * @return delivery_creator_name - 送料人名称
     */
    public String getDeliveryCreatorName() {
        return deliveryCreatorName;
    }

    /**
     * 设置送料人名称
     *
     * @param deliveryCreatorName 送料人名称
     */
    public void setDeliveryCreatorName(String deliveryCreatorName) {
        this.deliveryCreatorName = deliveryCreatorName;
    }

    /**
     * 获取送料时间
     *
     * @return date_delivery - 送料时间
     */
    public Date getDateDelivery() {
        return dateDelivery;
    }

    /**
     * 设置送料时间
     *
     * @param dateDelivery 送料时间
     */
    public void setDateDelivery(Date dateDelivery) {
        this.dateDelivery = dateDelivery;
    }
}